package com.ehome.poct.base.banner.repository;

import com.ehome.poct.base.api.dto.banner.*;
import com.ehome.poct.base.api.vo.banner.*;

import java.util.List;


/**
 * @author muqiu
 */
public interface BannerRepository  {

    List<BannerVO> list(Integer deviceType);

    void incrExposureById(BannerExposureDTO dto);

    Boolean add(BannerDTO bannerDTO);

    List<BannerDictDataVO> getDictData();

    BannerInfoPageVO getBanners(BannerPageDTO bannerPageDTO);

    BannerInfoVO getById(Long id);

    Boolean disable(BannerAbleDTO ableDTO);

    Boolean delete(Long id);

    BannerDataVO getData(BannerDataDTO bannerDataDTO);

}
